'use strict'

module.exports = ({ router, controller, middlewares }) => {
    const NAMESPACE = '/auth'
    const subRouter = router.namespace(NAMESPACE)
    
    const { token } = controller.auth

    subRouter.get('/gettoken', token.GetToken)
    subRouter.get('/authtoken', token.AuthToken)
    
}